﻿<%@ Control Language="C#" ClassName="ParamerterFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataParamerterName" runat="server" Text="Paramerter Name:" AssociatedControlID="dataParamerterName" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataParamerterName" Text='<%# Bind("ParamerterName") %>' MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataParamerterName" runat="server" Display="Dynamic" ControlToValidate="dataParamerterName" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataParamerterValue" runat="server" Text="Paramerter Value:" AssociatedControlID="dataParamerterValue" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataParamerterValue" Text='<%# Bind("ParamerterValue") %>' MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataParamerterValue" runat="server" Display="Dynamic" ControlToValidate="dataParamerterValue" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataDataType" runat="server" Text="Data Type:" AssociatedControlID="dataDataType" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataDataType" Text='<%# Bind("DataType") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataDescription" runat="server" Text="Description:" AssociatedControlID="dataDescription" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataDescription" Text='<%# Bind("Description") %>'  TextMode="MultiLine"  Width="250px" Rows="5"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataUserEditable" runat="server" Text="User Editable:" AssociatedControlID="dataUserEditable" /></td>
        <td>
					<asp:RadioButtonList runat="server" ID="dataUserEditable" SelectedValue='<%# Bind("UserEditable") %>' RepeatDirection="Horizontal"><asp:ListItem Value="True" Text="Yes" Selected="True"></asp:ListItem><asp:ListItem Value="False" Text="No"></asp:ListItem></asp:RadioButtonList>
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


